﻿using Abp.Application.Services.Dto;
using SingleUserMall.HeadLine.Form;
using SingleUserMall.HeadLine.VO;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.HeadLine
{
    /// <summary>
    /// 今日头条
    /// </summary>
    [Description("今日头条")]
    public interface IHeadLinesAppService : IAppService
    {
        /// <summary>
        /// 查询所有的头条列表
        /// </summary>
        /// <returns></returns>
        Task<PagedResultDto<headlinVO>> GetAllHeadLinesAsync(HeadlineSerchForm form);
        /// <summary>
        /// 查询文章详情信息
        /// </summary>
        /// <param name="ArticleId"></param>
        /// <returns></returns>
        Task<headlineDetailVO> GetArticleDetailAsync(long ArticleId);
    }
}
